build-sys: Make libostree-1.so depend on the symbol file
authorColin Walters <walters@verbum.org>
Fri, 24 Jun 2016 13:35:21 +0000 (09:35 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 24 Jun 2016 21:06:56 +0000 (21:06 +0000)
Otherwise one changing it doesn't cause a symbol to be exported.

Closes: #365
Approved by: jlebon

Makefile-libostree.am

index 8c2fd29708a3084562b0d1821f3fa30d63b35aca..efddd37d10a92603f3597616f930b13b2af218f9 100644 (file)
@@ -148,6 +148,7 @@ libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff -I$(srcdir)/libglnx -I$(
        -fvisibility=hidden '-D_OSTREE_PUBLIC=__attribute__((visibility("default"))) extern'
 libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions -Wl,--version-script=$(top_srcdir)/src/libostree/libostree.sym
 libostree_1_la_LIBADD = libotutil.la libbupsplit.la libglnx.la libbsdiff.la libostree-kernel-args.la $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) $(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS)
+EXTRA_libostree_1_la_DEPENDENCIES = $(top_srcdir)/src/libostree/libostree.sym
 
 EXTRA_DIST += src/libostree/libostree.sym